package com.competition.web.constant;

/**
 * 常量
 * 
 * @author 111
 */
public interface Const {

	public final static String MD5_STR = "dreamforflower";
	
	public final static int PAGE_SIZE = 30;
	
	/**
	 * 上线
	 */
	public final static int ONLINE  = 0;

	/**
	 * 下线
	 */
	public final static int OFFLINE = 1;

	/**
	 * 购物车显示数量
	 */
	public final static int GOOD_CART_NUMBER = 6;
	
	public final static int SUCCESS = 1;
	
	/**
	 * 普通订单
	 */
	public final static byte ORDINARY_ORDER = 0;
	

	/**
	 * 普通商品回调
	 */
	public final static byte GERNERAL_CALLBACK = 0;
	
	/**
	 * 盲盒订单
	 */
	public final static byte BLIND_ORDER = 1;
	
	
	/**
	 * 盲盒提现订单
	 */
	public final static byte BLIND_BOX_WITHDRAWAL = 3;
	
	/**
	 * 普通商品提现订单
	 */
	public final static byte WITHDRAWAL_OF_ORDINARY_ORDER = 2;
	
	/**
	 * 盲盒回调
	 */
	public final static byte BLIND_BOX_CALLBACK = 1;
	
	
	/**
	 * 普通商品铸造
	 */
	public final static byte GERNERAL_PAY_FUNCTION = 0;
	
	/**
	 * 盲盒商品铸造
	 */
	public final static byte BLIND_BOX_PAY_FUNCTION = 1;
	
	/**
	 * 获取我拥有的nft
	 */
	public final static int SELECT_MY_NFT = 1000;

	/**
	 * 商品详情分页数量
	 */
	public final static int PRODUCT_DETAIL_NUMBER = 5;

	public final static String REGINSTER_ERROR_MSG = "注册失败或用户名重复";

	public final static String PHONE_ERROR_MSG = "请输入手机号";
	
	/**
	 * 用户 id 前缀处理
	 */
	public final static int PREFIX_COUNT = 4;
	
	/**
	 * 用户 id 后缀处理
	 */
	public final static int SUFFIX_COUNT = 3;
	
	public final static String PAY_SUCCESS = "1";
	
	
	/**
	 * 手机平台
	 */
	public final static byte PLATEFORM_BY_MOBILE = 1;
	
	/**
	 * 手机平台
	 */
	public final static byte PLATEFORM_BY_PC = 0;
	
	
	/**
	 * 手机平台
	 */
	public final static byte PAY_BY_PC = 0;
	
	/**
	 * 小狐狸钱包
	 */
	public final static byte PAY_META_MASK = 5;
	
	
	
	/**
	 * 手机网页平台
	 */
	public final static byte PAY_BY_WAP = 1;
	
	/**
	 * 手机平台
	 */
	public final static byte PAY_BY_APP = 2;
	
	/**
	 * 数据库名称
	 */
	public final static String DATA_BASE_NAME = "crm";
	
	//
	public final static String SERVICE_CONF = "service-conf";
	
	public final static String GEOGRAPHICLOCATION = "geographic-location";
	
	public final static String ARRIVAL_TIME = "arrival_time";
	
	public final static String PREFERENCES = "preferences";
	
	public final static String PUNCTUALITY_SETTING = "punctuality-setting";
	
	public final static String PAYMENT_LEVEL = "payment-level";
	
	/**
	 * 图片删除事件
	 */
	public final static String PIC_DEL_EVENT = "pic_del_event";



}
